<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
    <h4 class="modal-title">添加项目团队成员</h4>
</div>
<div class="modal-body">
    <form role="form" class="validator_form" action="{:url('/Index/project/team/edit')}" id="editteamForm" method="post">
        <input type="hidden" name="id" value="{$info.id?=$info.id}">
        <input type="hidden" name="project_id" value="{$base_project_id}">
        <div class="box-body">

            <div class="form-group">
                <label>用户</label>
                <input type="text" class="form-control" id="name" readonly="readonly" placeholder="name" value="{$user.nickname?=$user.nickname}">
            </div>
            <div class="form-group">
                <label>电话</label>
                <input type="text" name="phone" class="form-control" id="phone" required placeholder="电话" value="{$info.phone?=$info.phone}">
            </div>
            <div class="form-group">
                <label>邮箱</label>
                <input type="text" name="email" class="form-control" id="email" required placeholder="邮箱" value="{$info.email?=$info.email}">
            </div>
            <div class="form-group">
                <label>职责</label>
                <input type="text" name="duty" class="form-control" id="duty" required placeholder="职责" value="{$info.duty?=$info.duty}">
            </div>


        </div>
        <div class="box-footer">
            <button type="submit" class="btn btn-primary">确认</button>
        </div>

    </form>
</div>